package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.ShopDivisionReceiverGroup;
import com.yami.shop.common.util.PageParam;

public interface ShopDivisionReceiverGroupService extends IService<ShopDivisionReceiverGroup> {

    /**
     * 根据ID和店铺ID查询
     * @param groupId
     * @param shopId
     * @return
     */
    ShopDivisionReceiverGroup findByIdAndShopId(Long groupId, Long shopId);

    /**
     * 分页获取店铺分账管理（账号组）
     * @param page 分页参数
     * @param shopDivisionReceiverGroup 分账管理（账号组）搜索参数
     * @return 店铺分账管理（账号组）列表分页数据
     */
    IPage<ShopDivisionReceiverGroup> pageByParam(PageParam<ShopDivisionReceiverGroup> page, ShopDivisionReceiverGroup shopDivisionReceiverGroup);
}
